<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
        <?php foreach ($jokes as $joke): ?>
        <form action="?deletejoke" method="post">
            <blockquote>
                <p>
                    <?php echo htmlspecialchars($joke['text'], ENT_QUOTES,
                            'UTF-8');?>
                    <input type="hidden" name="id" value="<?php
                    echo $joke['id']; ?>"/>
                    <input type="submit" value="Eliminar pues!"/>
                </p>
            </blockquote>
                
        </form>
        <?php endforeach;?>
    </body>
</html>
